#include "StdAfx.h"
#include "FittingEllipse.h"

FittingEllipse::FittingEllipse(void)
{
	center.x = center.y = 0;
	axes.width = axes.height = 0.1f;
	angle = 0;
}

FittingEllipse::~FittingEllipse(void)
{
}

void FittingEllipse::SetCenter(CvPoint2D32f center)
{
	this->center = center;
}

CvPoint2D32f FittingEllipse::GetCenter(void) const
{
	return center;
}

void FittingEllipse::SetAxes(CvSize2D32f axes)
{
	this->axes = axes;
}

CvSize2D32f FittingEllipse::GetAxes(void) const
{
	return axes;
}

void FittingEllipse::SetAngle(float angle)
{
	this->angle = angle;
}

float FittingEllipse::GetAngle(void) const
{
	return angle;
}
